[IA64] wrong type cast in ia64_hypercall
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Fri, 17 Feb 2006 21:49:58 +0000 (14:49 -0700)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Fri, 17 Feb 2006 21:49:58 +0000 (14:49 -0700)
This is wrong type cast.
This patch fix warnning of incompatible pointer type.

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
xen/arch/ia64/xen/hypercall.c

index 707f9083ed1e72cf9661d425f1349fa1328ea772..76ebec31f5fdebb354ccd8e018add15369ff15ee 100644 (file)
@@ -63,7 +63,7 @@ hypercall_t ia64_hypercall_table[] =
 int
 ia64_hypercall (struct pt_regs *regs)
 {
-       struct vcpu *v = (struct domain *) current;
+       struct vcpu *v = current;
        struct sal_ret_values x;
        unsigned long *tv, *tc;
        int pi;